package com.xyht.sca_s.student_manage_system.modules.newTips.myEnum;


import java.util.stream.Stream;

public enum AppTypeEnum {

    APP_TYPE_ENUM_DYNAMIC_APP("dynamicApp","动态应用"),
    APP_TYPE_ENUM_ASSET("assetManagement","资产管理"),
    APP_TYPE_ENUM_PAYMENT_EXAMINE("paymentExamine","付款审批(采购)"),
    APP_TYPE_ENUM_PAYMENT_EXAMINE_INFRASTRUCTURE("paymentInfrastructure","付款审批(基建)"),
    APP_TYPE_ENUM_LEAVE("leave","请假管理"),
    APP_TYPE_ENUM_ATTENDANCE("attendance","考勤打卡"),
    APP_TYPE_ENUM_QUESTIONNAIRE("questionnaire","问卷管理"),
    APP_TYPE_ENUM_NOTICE("notice","通知管理"),
    APP_TYPE_ENUM_COMMON_EXAMINE("commonApproving","通用审批"),
    APP_TYPE_ENUM_CHECK_IN_APPLICATION("checkInApplication","教职工入住申请"),
    APP_TYPE_ENUM_VISITOR_APPLICATION("visitorManagement","访客申请"),
    APP_TYPE_ENUM_VISITOR_APPLICATION_ALLOW("visitor","访客申请审批"),
    APP_TYPE_ENUM_PRODUCT_PROCUREMENT("productProcurement","大宗商品采购"),
    APP_TYPE_ENUM_INFRASTRUCTURE("infrastructure","基础建设审批表"),
    APP_TYPE_ENUM_STAMP_REGISTRATION("stampRegistration","印章登记审批表"),
    APP_TYPE_ENUM_PURCHASE_REQUISITION("purchaseRequisition","学院请购单"),
    APP_TYPE_ENUM_WORK_APPLICATION("workApplication","工作请示单"),
    APP_TYPE_ENUM_WORK_GROUP_APPLICATION("workApplicationGroup","集团工作请示单"),
    APP_TYPE_ENUM_AGREEMENT_APPLICATION("jointReview","协议会审单"),
    APP_TYPE_ENUM_REPAIR_CHECK_APPLICATION("maintenanceApproval","维修报审单"),
    APP_TYPE_ENUM_USE_MONEY_APPLICATION("moneyuse","用款申请单"),
    APP_TYPE_ENUM_MEETING_ROOM("meetingRoom","会议室管理"),
    APP_TYPE_ENUM_CAR_USE("vehicleBorrowing","车辆借用"),
    APP_TYPE_ENUM_CAR_RETURN("vehicleReturn","车辆归还"),
    APP_TYPE_ENUM_CLOCK_IN("attendanceManagementAdmin","考勤"),
    APP_TYPE_ENUM_SCHEDULE("schedule","我的日程"),
    APP_TYPE_ENUM_SALARY("payroll","工资单"),
    APP_TYPE_ENUM_STUDENT_LOAN("studentLoan","助学贷款"),
    APP_TYPE_ENUM_PRESS_FOR_MONEY("pressForMoney","催款"),


    ;

     AppTypeEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

    private String name;
    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public static Stream<AppTypeEnum> stream() {
        return Stream.of(AppTypeEnum.values());
    }

}
